home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / int.lbr / INT2.ASM
Encoding:
Assembly Source File  |  2011-02-02  |  710 b   |  22 lines

  1. ;         PRTY.ASM - (c) Mike Dasler
  2. ;         This program will set the parity flag and call the parity NMI.
  3. ;
  4. ;*****************      Beginning of Parint Instructions    ******************
  5. cseg      segment
  6.           assume cs:cseg
  7.           org 100h
  8.  
  9. ;***************************    NMI handler   ******************************
  10.  
  11. newint    proc     near      ; New interrupt handler
  12.           assume ds:cseg, es:cseg
  13.           push     cs
  14.           xor      ax,ax
  15.           push     ax
  16.           int      2              ; Call parity interupt.
  17.           ret                     ; Return from this program to DOS
  18. newint    endp
  19.  
  20. cseg      ends
  21.     end
  22.